/*
package org.jeecg;


import org.activiti.engine.*;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


*/
/**
 * @author luozhiwei
 * @date 2020/11/17 17:51
 *//*

@Configuration
public class Activiti5Config {

    @Bean
    public ProcessEngine activiti5processEngine() {
        //载入资源
        ProcessEngineConfiguration processEngineConfiguration = ProcessEngineConfiguration.createProcessEngineConfigurationFromResource("activiti.cfg.xml");
        //创建引擎
        return processEngineConfiguration.buildProcessEngine();
    }

    @Bean
    public RepositoryService activiti5RepositoryService() {
        return activiti5processEngine().getRepositoryService();
    }

    @Bean
    public RuntimeService runtimeService() {
        return activiti5processEngine().getRuntimeService();
    }

    @Bean
    public TaskService taskService() {
        return activiti5processEngine().getTaskService();
    }

}
*/
